<h1>Produse List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Nume</th>
      <th>Standard</th>
      <th>Cod</th>
      <th>Material</th>
      <th>Dimensiune</th>
      <th>Updated at</th>
      <th>Created at</th>
      <th>Created by</th>
      <th>Updated by</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($produse as $produs): ?>
    <tr>
      <td><a href="<?php echo url_for('produse/show?id='.$produs->getId()) ?>"><?php echo $produs->getId() ?></a></td>
      <td><?php echo $produs->getNume() ?></td>
      <td><?php echo $produs->getStandard() ?></td>
      <td><?php echo $produs->getCod() ?></td>
      <td><?php echo $produs->getMaterial() ?></td>
      <td><?php echo $produs->getDimensiune() ?></td>
      <td><?php echo $produs->getUpdatedAt() ?></td>
      <td><?php echo $produs->getCreatedAt() ?></td>
      <td><?php echo $produs->getCreatedBy() ?></td>
      <td><?php echo $produs->getUpdatedBy() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('produse/new') ?>">New</a>
